﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Survivor.src
{
    enum TileType
    {
        TILE_TYPE_GROUND,
        TILE_TYPE_WATER,
        TILE_TYPE_EMPTY,
    }

    class Tile
    {
        int         _height;
        bool        _pathable;
        int         _spriteId;
        TileType    _type;

        public Tile(int height, bool pathable, int spriteId, TileType type)
        {
            _height = height;
            _pathable = pathable;
            _spriteId = spriteId;
            _type = type;
        }
        
        public int Height
        {
            get { return _height; }
            set { _height = value; }
        }
        internal TileType Type
        {
            get { return _type; }
            set { _type = value; }
        }
        public int SpriteId
        {
            get { return _spriteId; }
            set { _spriteId = value; }
        }
        public bool isPathable
        {
            get { return _pathable; }
            set { _pathable = value; }
        }
        
    }
}
